Ai ddl improvements#1776
Conversation
…x approve/reject button lifecycle - Remove outer `!applied()` guard so input is always shown after approval - Reset `applied` signal when new AI batch arrives to re-enable approve/reject buttons - Clear batchId on successful approval so pendingBatch() returns null and input reappears - Disable textarea while AI request is in flight Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR improves the AI schema editing flow so newly applied DDL changes can be reviewed in the dashboard with a cache-bypass flag and continued chat interaction.
Changes:
- Adds an
uncachedoption through dashboard row loading and table service requests. - Adds an
uncached=truequery param to the schema editor’s “Open tables” link. - Keeps the schema editor input available after applying changes and clears completed batch state.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
frontend/src/app/services/tables.service.ts |
Sends _uncached=true to the rows API when requested. |
frontend/src/app/components/edit-database-schema/edit-database-schema.component.ts |
Resets applied state on new AI changes and clears batch state after successful approval. |
frontend/src/app/components/edit-database-schema/edit-database-schema.component.html |
Adds uncached navigation to dashboard and keeps the prompt form visible. |
frontend/src/app/components/dashboard/db-tables-data-source.ts |
Passes the uncached flag from dashboard row requests into the table service. |
frontend/src/app/components/dashboard/dashboard.component.ts |
Reads uncached from query params and forwards it into row loading. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| tableName = this.allTables[0]?.table; | ||
| } | ||
| this.router.navigate([`/dashboard/${this.connectionID}/${tableName}`], { replaceUrl: true }); | ||
| this.router.navigate([`/dashboard/${this.connectionID}/${tableName}`], { replaceUrl: true, queryParamsHandling: 'preserve' }); |
No description provided.